package com.bangcommunity.bbframe.sdm.datasource;

import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;

/**
 * @author tanghc
 * @date 18/6/20
 */
public class MultDataSourceRouter extends AbstractRoutingDataSource {

    @Override
    protected Object determineCurrentLookupKey() {
        return MultDataSourceKey.getDataSourceKey();
    }
}
